Optimal. Leaf size=200 \[ \frac {3 a^2 b F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {3 a b^2 F^{2 \left (e-\frac {c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {b^3 F^{3 \left (e-\frac {c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {a^3 \log (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.25, antiderivative size = 200, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {2214, 2213,
2209} \begin {gather*} \frac {a^3 \log (c+d x)}{d}+\frac {3 a^2 b \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac {c f}{d}\right )-2 g n (e+f x)} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {b^3 \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac {c f}{d}\right )-3 g n (e+f x)} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2209
Rule 2213
Rule 2214
Rubi steps
\begin {align*} \int \frac {\left (a+b \left (F^{g (e+f x)}\right )^n\right )^3}{c+d x} \, dx &=\int \left (\frac {a^3}{c+d x}+\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{c+d x}+\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{c+d x}+\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{c+d x}\right ) \, dx\\ &=\frac {a^3 \log (c+d x)}{d}+\left (3 a^2 b\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{c+d x} \, dx+\left (3 a b^2\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{c+d x} \, dx+b^3 \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{c+d x} \, dx\\ &=\frac {a^3 \log (c+d x)}{d}+\left (3 a^2 b F^{-n (e g+f g x)} \left (F^{e g+f g x}\right )^n\right ) \int \frac {F^{n (e g+f g x)}}{c+d x} \, dx+\left (3 a b^2 F^{-2 n (e g+f g x)} \left (F^{e g+f g x}\right )^{2 n}\right ) \int \frac {F^{2 n (e g+f g x)}}{c+d x} \, dx+\left (b^3 F^{-3 n (e g+f g x)} \left (F^{e g+f g x}\right )^{3 n}\right ) \int \frac {F^{3 n (e g+f g x)}}{c+d x} \, dx\\ &=\frac {3 a^2 b F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {3 a b^2 F^{2 \left (e-\frac {c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {b^3 F^{3 \left (e-\frac {c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{d}+\frac {a^3 \log (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.62, size = 160, normalized size = 0.80 \begin {gather*} \frac {3 a^2 b F^{-\frac {f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^n \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )+3 a b^2 F^{-\frac {2 f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^{2 n} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )+b^3 F^{-\frac {3 f g n (c+d x)}{d}} \left (F^{g (e+f x)}\right )^{3 n} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )+a^3 \log (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \left (F^{g \left (f x +e \right )}\right )^{n}\right )^{3}}{d x +c}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 155, normalized size = 0.78 \begin {gather*} \frac {a^{3} \log \left (d x + c\right ) + \frac {b^{3} {\rm Ei}\left (\frac {3 \, {\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right )}{F^{\frac {3 \, {\left (c f g n - d g n e\right )}}{d}}} + \frac {3 \, a b^{2} {\rm Ei}\left (\frac {2 \, {\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right )}{F^{\frac {2 \, {\left (c f g n - d g n e\right )}}{d}}} + \frac {3 \, a^{2} b {\rm Ei}\left (\frac {{\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right )}{F^{\frac {c f g n - d g n e}{d}}}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \left (F^{e g} F^{f g x}\right )^{n}\right )^{3}}{c + d x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,{\left (F^{g\,\left (e+f\,x\right )}\right )}^n\right )}^3}{c+d\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________